{if $news eq 0}
<p>No hay noticias registradas</p>
{else}
<p class="legend">&Uacute;ltimas Noticias</p>
<div id="dhtmlgoodies_slideshow">
    <div id="previewPane">
        <img src="images/news/{$first.img}" />
        <span id="waitMessage">
            <img src="images/spinner.gif" border="0" />
        </span>
        <div id="largeImageCaption">
            <p class="title">
                {$first.del1} {$first.gme_goal_team_1}:{$first.gme_goal_team_2} {$first.del2}
            </p>
            <p style="padding:0;margin:0;">
                {$first.gme_comment}
            </p>
        </div>
    </div>
    <div id="galleryContainer">
        <div id="arrow_left"><img src="images/arrow_left.gif" /></div>
        <div id="arrow_right"><img src="images/arrow_right.gif" /></div>
        <div id="theImages">
                <!-- Thumbnails -->
                {foreach item=game from=$news}
                <a href="#" onclick="showPreview('images/news/{$game.img}','1');return false">
                    <img src="images/news/{$game.pv}" />
                </a>
                {/foreach}
                <!-- End thumbnails -->

                <!-- Image captions -->
                {foreach item=game from=$news}
                <div class="imageCaption">
                    <p class="title">
                        {$game.del1} {$game.gme_goal_team_1}:{$game.gme_goal_team_2} {$game.del2}
                    </p>
                    <p style="padding:0;margin:0;">
                        {$game.gme_comment}
                    </p>
                </div>
                {/foreach}
                <!-- End image captions -->

                <div id="slideEnd"></div>
        </div>
    </div>
</div>
<script type="text/javascript">
    initSlideShow();
</script>
{/if}